<script setup lang="ts">
//胶囊图接收类型限制
type capsuleChartType = {
    config: {
        data: {
            name: string, value: number
        }[]
    }
}

const props = defineProps<capsuleChartType>()
</script>
<template>
    <dv-capsule-chart :config="props.config" style="width:300px;height:200px" />
</template>